package com.example.hospital.pojo;

import lombok.Data;
import java.util.Date;
//排班实体类
@Data
public class Schedule {
    private Integer id;
    private Integer userId;
    private Integer departmentId;
    private Integer positionId;
    private Date shiftDate;
    private String shiftType; // 早班、晚班等
    private Date createdAt;
    private Date updatedAt;

    // 关联属性（可选）
    private User user;
    private Department department;
    private Position position;
}
